package com.ssy.lingxi.system.service;

import com.ssy.lingxi.common.response.PageData;
import com.ssy.lingxi.common.response.PageModel;
import com.ssy.lingxi.common.response.Wrapper;
import com.ssy.lingxi.system.dto.request.CreditIndexRequest;
import com.ssy.lingxi.system.dto.request.CreditIndexUpdateRequest;
import com.ssy.lingxi.system.entity.CreditIndex;

/**
* 信用指数评估规则配置服务层
* @author wrc
* @date 2020/6/5
*/
public interface CreditIndexService {


    /**
    * 信用指数评估规则配置服务层 列表查询
    * @author wrc
    * @date 2020/6/5
    */
    Wrapper<PageData<CreditIndex>> creditIndexList(PageModel reqquest);



    /**
    * 停用或者启用信用
    * @author wrc
    * @date 2020/6/5
    */
    Wrapper creditIndexStopAndStart(CreditIndexRequest request);



    /**
    * 修改信用权重配置
    * @author wrc
    * @date 2020/6/5
    */
    Wrapper creditIndexUpdate(CreditIndexUpdateRequest request);
}
